package net.awpspace.caromini;

import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.Sprite;

public class MySprite extends Sprite {

	

	public MySprite(Image image, int col, int row, int x, int y) {
		super(image);
		int w = image.getWidth() / col;
		int h = image.getHeight() / row;
		this.setImage(image, w, h);
		setPosition(x, y);
	}

}
